package br.com.ffm.praticas.bean;

import java.util.GregorianCalendar;
import java.util.LinkedList;
import java.util.List;

public class Sell {
	
	private int id;
	private Employer employer;
	private Costumer costumer;
	private GregorianCalendar sellDate;
	private List<Product> sellProducts;
	private double totalSellValue;
	
	public Sell() {
		sellDate = new GregorianCalendar();
		sellProducts = new LinkedList<Product>();
	}
	
	/**
	 * @param id the id to set
	 */
	public void setId(int id) {
		this.id = id;
	}
	
	/**
	 * @return the id
	 */
	public int getId() {
		return id;
	}

	/**
	 * @param employer the employer to set
	 */
	public void setEmployer(Employer employer) {
		this.employer = employer;
	}

	/**
	 * @return the employer
	 */
	public Employer getEmployer() {
		return employer;
	}

	/**
	 * @param costumer the costumer to set
	 */
	public void setCostumer(Costumer costumer) {
		this.costumer = costumer;
	}

	/**
	 * @return the costumer
	 */
	public Costumer getCostumer() {
		return costumer;
	}

	/**
	 * 
	 * @param sellDate
	 */
	public void setSellDate(GregorianCalendar sellDate) {
		this.sellDate = sellDate;
	}

	/**
	 * 
	 * @return
	 */
	public GregorianCalendar getSellDate() {
		return sellDate;
	}

	/**
	 * @param sellProducts the sellProducts to set
	 */
	public void setSellProducts(List<Product> sellProducts) {
		this.sellProducts = sellProducts;
	}

	/**
	 * @return the sellProducts
	 */
	public List<Product> getSellProducts() {
		return sellProducts;
	}

	/**
	 * @param totalSellValue the totalSellValue to set
	 */
	public void setTotalSellValue(double totalSellValue) {
		this.totalSellValue = totalSellValue;
	}

	/**
	 * @return the totalSellValue
	 */
	public double getTotalSellValue() {
		return totalSellValue;
	}

}
